package abstractFactory;

import abstractFactory.factory.GuiFactory;

public class Application {
    private GuiFactory factory;

    public Application(GuiFactory factory) {
        this.factory = factory;

    }
    public void createUI() {
        factory.createButton().paint();
        factory.createCheckbox().paint();
    }
}
